num = input("输入:")
num1_pre = num[:2]
if num.isdigit():
    print("是整型")
elif num1_pre == "0b" or num1_pre == "0o" or num1_pre == "0x":
    if num1_pre == "0b":
        patter_str = "01"
    elif num1_pre == "0o":
        patter_str = "01234567"
elif num1_pre == "0x":
    patter_str = "0123456789asdf"
    flag = 0
    for i in num[2:]:
        if i not in patter_str:
            flag = 1
            break
            if flag == 0:
                print("是整型")
            else:
                print("不是整型")
        else:
            print("不是整型")
